package com.bdqn.service;

import com.bdqn.pojo.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Map;

/**
 * UserService
 *
 * @author LILIBO
 * @since 2023-12-01
 */
public interface UserService {

    /**
     * 使用数据库API完成分页查询
     *
     * @param param
     * @param pageable
     * @return
     */
    Page<User> findPageByMap(Map param, Pageable pageable);

}
